package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {
    //CRUD
    int saveData(String name, Integer age, String sex);
    int saveData1(Review review);
    int remove(long id);
    int update(Review review);
    Review getById(Long id);
    List<Review> page();
}